import java.util.Scanner;

public class Lession2 {
	public static void main(String[] args) {
		int a=1;
		
		Scanner scanner=new Scanner(System.in);
		for (int i = 1; i < 10; i++) {
		a=(a+1)*2;
		}
		System.out.println(a);
	}
}
